<template>
  <view>
    <!-- 目前登陆接口有问题，所以直接跳过登陆接口 -->
    <my-login v-if="getToken"></my-login>

    <my-userInfo v-else></my-userInfo>
  </view>
</template>

<script>
import MyLogin from "../../components/my-login";
import MyUserInfo from "../../components/my-userInfo";
import { mapGetters } from "vuex";
export default {
  components: {
    MyLogin,
    MyUserInfo,
  },
  computed: {
    ...mapGetters("m_user", ["getToken"]),
  },
};
</script>

<style lang='scss'>
</style>